package com.dji.sample.wayline.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjt
 * @since 2022-09-13
 */
@TableName("member_user")
@Data
public class MemberUserEntity extends Model<MemberUserEntity> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 编号
     */
    private String number;

    private Long orgId;

    private String orgCode;

    /**
     * 名称
     */
    private String name;

    /**
     * 警员类型
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String userType;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String memberType;

    private String policeNo;

    private String idCard;

    private String phone;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String memberLevel;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String extMemberLevel;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String extMemberType;

    private Date createTime;

    private Date updateTime;

    private String password;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String createBy;

}
